package com.example.lotterysystem.controler.result;

import com.example.lotterysystem.controler.param.UserLoginParam;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.validation.annotation.Validated;

/**
 * @Author xuejiao
 * Data 2025/4/30 16:04
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class UserPasswordLoginParam extends UserLoginParam {
    /**
     * 手机或邮箱
     */
    @NotBlank(message = "手机或邮箱不能为空！")
    private String loginName;
    /**
     * 密码
     */
    @NotBlank(message = "密码不能为空！")
    private String password;
}
